import HttpException from "./http.ex";

class EmailExistException extends HttpException {
  public email: string;
  constructor(email: string) {
    super(403, "已有的邮箱");
    this.email = email;
  }
}

export default EmailExistException;
